/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/adminAuth',
  component: Layout,
  redirect: '/adminAuth/getRoleList',
  alwaysShow: true, // will always show the root menu
  name: 'adminAuth',
  meta: {
    title: '基础数据管理',
    icon: 'permission'
  },
  children: [
    {
      path: '/adminAuth/permissionList',
      component: () =>
        import('@/views/permissions-page/dept-management/index.vue'),
      name: 'permissionList',
      meta: { title: '部门管理', icon: 'permission' },
    },
    {
      path: '/adminAuth/adminList',
      component: () =>
        import('@/views/permissions-page/user-management/index.vue'),
      name: 'adminList',
      meta: { title: '员工基础信息管理', icon: 'personnel' },
    },
    {
      path: '/adminAuth/empPosition',
      component: () => import('@/views/empPosition/index.vue'),
      name: 'empPosition',
      meta: { title: '员工岗位管理', icon: 'permission' }
    },
    {
      path: '/adminAuth/getRoleList',
      component: () =>
        import('@/views/permissions-page/role-management/index.vue'),
      name: 'getRoleList',
      meta: { title: '权限管理', icon: 'permission' },
    },
    {
      path: '/coefficient/regionCoefficient',
      name: 'regionCoefficient',
      component: () => import('@/views/performance/regionCoefficient.vue'),
      meta: { title: '地区系数', icon: 'personnel' },
    },
    {
      path: '/coefficient/empCoefficient',
      name: 'empCoefficient',
      component: () => import('@/views/perform-set/coefficientIndex.vue'),
      meta: { title: '员工绩效系数', icon: 'personnel' },
    },
    {
      path: '/performSet/assessorTimer',
      name: 'assessorTimer',
      component: () => import('@/views/performance/assessor-timer.vue'),
      meta: { title: '审核人员与审核时限', icon: 'personnel' },
    },
    {
      path: '/adminAuth/pdfList',
      component: () =>
        import('@/views/permissions-page/pdf-manage/index.vue'),
      name: 'pdfList',
      meta: { title: '文件管理', icon: 'personnel' },
    },

  ]
}